package com.niiwoo.civet.trade.service.loan;

import com.niiwoo.civet.trade.dto.request.CreditAuditBackRequestDTO;
import com.niiwoo.civet.trade.dto.request.loan.ConfirmLoanRequestDTO;
import com.niiwoo.civet.trade.dto.response.loan.ConfirmResponseDTO;

/**
 * @Description: 小易贷借款服务
 * @Author:zhoulinquan
 * @Date:2018/04/17
 */
public interface SmallLoanDubboService {

    /**
     * 小易贷借款费用计算
     * @param confirmLoanRequestDTO
     * @return
     */
    ConfirmResponseDTO calculateCost(ConfirmLoanRequestDTO confirmLoanRequestDTO);
    
    /**
     * 信审天秤回调
     * @param creditAuditBackRequestDTO
     * @return
     */
    void tianchengCreditAuditCallback(CreditAuditBackRequestDTO creditAuditBackRequestDTO);
}
